package abc.com.abc.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import abc.com.abc.R;

public class GlySuccessActivity extends AppCompatActivity {
    private TextView tv_select,tv_msg;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_gly_success);
        init();
    }

    private void init() {
        tv_select = findViewById(R.id.tv_select);
        tv_msg = findViewById(R.id.tv_msg);
        //查询的点击事件
        tv_select.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(GlySuccessActivity.this,GlySelectActivity.class);
                startActivity(intent);
            }
        });
        //消息的点击事件
        tv_msg.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(GlySuccessActivity.this,GlyMsgActivity.class);
                startActivity(intent);
            }
        });
    }
}
